package com.dbsop.domain.transport.query;

import com.dbsop.common.enums.DecideFlag;

/**
 * 大于查询条件
 */
public class LtRangeQuery extends RangeQuery {

    public LtRangeQuery(String columnName, Object value, DecideFlag decideFlag) {
        super(columnName, value, decideFlag);
    }

    /**
     * 大于
     * @param
     */
    public void gt(Object value){
       setRangeQuery(new GtRangeQuery(getColumnName(),value, DecideFlag.GT));
    }

    /**
     * 大于等于
     * @param
     */
    public void gte(Object value){
        setRangeQuery(new GtRangeQuery(getColumnName(),value, DecideFlag.GTE));
    }


}
